package cn.com.greatwall.kafka.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

import lombok.Data;

/**
 * @Author herw
 * @Time 2021-04-15 13:55:43
 * @Version 1.0
 * @Description: TODO(用一句话描述该文件做什么)
 */
@Configuration
@Data
public class InitConfig {
    @Value("${monitor.collect.period.minutes:3}")
    private int monitorCollectPeriod;
    
    @Value("${monitor.collector.include.enable:false}")
    private boolean monitorCollectorIncludeEnable;
    
    @Value("${monitor.collector.include.location:dev}")
    private String monitorCollectorIncludelocation;
    
    @Value("${monitor.elasticsearch.index:}")
    private String monitorElasticsearchIndexName;
    
    @Value("${collect.topic.enable:false}")
    private boolean collectTopicEnable;
    
    @Value("${collect.topic.period.minutes:10}")
    private int collectTopicPeriod;
}
